from comm.action import *
from appium.webdriver.common.appiumby import AppiumBy

driver=CommonDriver.get_driver()
# driver.find_element(AppiumBy.XPATH,'//android.widget.TextView[text()="同意"]').click()
# driver.find_element(AppiumBy.XPATH,'//android.widget.TextView[contains(@text,"不同")]').click()
el=driver.find_element(AppiumBy.XPATH,'//android.widget.RelativeLayout/android.widget.TextView[2]')
t=el.text
print(t)
